package com.cszjzx.member.po;

public class Major {
	private int id;
	private String name;
	private String parentLeague;
	private int nums;
	public int getNums() {
		return nums;
	}
	public void setNums(int nums) {
		this.nums = nums;
	}
	public String getParentLeague() {
		return parentLeague;
	}
	public void setParentLeague(String parentLeague) {
		this.parentLeague = parentLeague;
	}
	private int departmentId;
	public Major( String name, int departmentId) {
		this.name = name;
		this.departmentId = departmentId;
	}
	public Major() {
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getDepartmentId() {
		return departmentId;
	}
	public void setDepartmentId(int departmentId) {
		this.departmentId = departmentId;
	}
	@Override
	public String toString() {
		return "Major [id=" + id + ", name=" + name + ", parentLeague=" + parentLeague + ", departmentId="
				+ departmentId + "]";
	}
	
	
     
}
